package com.woniuxy.cloud.carl.car.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆
 * </p>
 *
 * @author Lucas
 * @since 2023-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_car")
public class Car implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 车辆id
     */
    @TableId(value = "car_id", type = IdType.AUTO)
    private Long carId;

    /**
     * 生产年份
     */
    private String productYearId;

    /**
     * 车型id
     */
    private Long carStyleId;

    /**
     * 车辆描述
     */
    private String carDesc;

    /**
     * 车辆图片
     */
    private String image;

    /**
     * 车辆品牌id
     */
    private Long carBrandId;

    /**
     * 车系id
     */
    private Long carSortId;


}
